<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html>
<head>
    <title>查看员工</title>
    <link rel="stylesheet" href="../css/style.css">
</head>
<body>
<div class="container">
    <h2>员工详情</h2>
    <p><strong>ID：</strong>${employee.id}</p>
    <p><strong>姓名：</strong>${employee.name}</p>
    <p><strong>部门：</strong>${employee.department}</p>
    <p><strong>职位：</strong>${employee.position}</p>
    <p><strong>薪资：</strong>${employee.salary}</p>
    <p><strong>邮箱：</strong>${employee.email}</p>
    <p><strong>电话：</strong>${employee.phone}</p>
    <p><strong>入职日期：</strong>${employee.hireDate}</p>
    <p><strong>创建人：</strong>${employee.createdBy.username}</p>
    <p><strong>创建时间：</strong>${employee.createdAt}</p>
    <p><strong>更新时间：</strong>${employee.updatedAt}</p>
    <p>
        <a href="edit?id=${employee.id}">编辑</a> |
        <a href="list">返回列表</a>
    </p>
</div>
</body>
</html>